/**
* @author sunke
* @Date 2023-09-22 22:03:53
* @description 人才备注
*/
package cn.jobstart.model;

import cn.jobstart.pubInter.BaseTimeDoMain;
import javax.validation.constraints.*;
import org.hibernate.validator.constraints.Length;

public class PersonRemark extends BaseTimeDoMain {
    /**
     * 排序
     */
    private Integer sortNum = 0;

    /**
     * 是否显示
     * 1:是:Y,0:否:N
     */
    private Integer showFlag = 1;

    /**
     * 是否删除
     * 1:删除:Y,0:正常:N
     */
    private Integer delFlag = 0;

    /**
     * 版本
     */
    private Integer version;

    /**
     * 人才ID
     */
    @Length(max=32,message="人才ID长度最大值32")
    private String personId;

    /**
     * 员工ID
     */
    @Length(max=32,message="员工ID长度最大值32")
    private String adminId;

    /**
     * 员工姓名
     */
    @Length(max=50,message="员工姓名长度最大值50")
    private String adminTruename;

    /**
     * 备注内容
     */
    @Length(max=200,message="备注内容长度最大值200")
    private String remark;

     /**
     *主键
     */
    public static final String ID = "person_remark.pr_id";

     /**
     *创建时间
     */
    public static final String CREATE_TIME = "person_remark.pr_create_time";

     /**
     *更新时间
     */
    public static final String UPDATE_TIME = "person_remark.pr_update_time";

     /**
     *排序
     */
    public static final String SORT_NUM = "person_remark.pr_sort_num";

     /**
     *是否显示
     */
    public static final String SHOW_FLAG = "person_remark.pr_show_flag";

     /**
     *是否删除
     */
    public static final String DEL_FLAG = "person_remark.pr_del_flag";

     /**
     *版本
     */
    public static final String VERSION = "person_remark.pr_version";

     /**
     *人才ID
     */
    public static final String PERSON_ID = "person_remark.pr_person_id";

     /**
     *员工ID
     */
    public static final String ADMIN_ID = "person_remark.pr_admin_id";

     /**
     *员工姓名
     */
    public static final String ADMIN_TRUENAME = "person_remark.pr_admin_truename";

     /**
     *备注内容
     */
    public static final String REMARK = "person_remark.pr_remark";

     /**
     *填充detail key
     */
    public static final String PERSON_REMARK_FULL_DETAIL_KEY = "PERSON_REMARK_FULL_DETAIL";

     /**
     *填充list key
     */
    public static final String PERSON_REMARK_FULL_LIST_KEY = "PERSON_REMARK_FULL_LIST";

    /**
     * 获取排序
     *
     * @return pr_sort_num - 排序
     */
    public Integer getSortNum() {
        return sortNum;
    }

    /**
     * 设置排序
     *
     * @param sortNum 排序
     */
    public PersonRemark setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
        return this;
    }

    /**
     * 获取是否显示
     *
     * @return pr_show_flag - 是否显示
     */
    public Integer getShowFlag() {
        return showFlag;
    }

    /**
     * 设置是否显示
     * 1:是:Y,0:否:N
     *
     * @param showFlag 是否显示
     */
    public PersonRemark setShowFlag(Integer showFlag) {
        this.showFlag = showFlag;
        return this;
    }

    /**
     * 获取是否删除
     *
     * @return pr_del_flag - 是否删除
     */
    public Integer getDelFlag() {
        return delFlag;
    }

    /**
     * 设置是否删除
     * 1:删除:Y,0:正常:N
     *
     * @param delFlag 是否删除
     */
    public PersonRemark setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
        return this;
    }

    /**
     * 获取版本
     *
     * @return pr_version - 版本
     */
    public Integer getVersion() {
        return version;
    }

    /**
     * 设置版本
     *
     * @param version 版本
     */
    public PersonRemark setVersion(Integer version) {
        this.version = version;
        return this;
    }

    /**
     * 获取人才ID
     *
     * @return pr_person_id - 人才ID
     */
    public String getPersonId() {
        return personId;
    }

    /**
     * 设置人才ID
     *
     * @param personId 人才ID
     */
    public PersonRemark setPersonId(String personId) {
        this.personId = personId == null ? null : personId.trim();
        return this;
    }

    /**
     * 获取员工ID
     *
     * @return pr_admin_id - 员工ID
     */
    public String getAdminId() {
        return adminId;
    }

    /**
     * 设置员工ID
     *
     * @param adminId 员工ID
     */
    public PersonRemark setAdminId(String adminId) {
        this.adminId = adminId == null ? null : adminId.trim();
        return this;
    }

    /**
     * 获取员工姓名
     *
     * @return pr_admin_truename - 员工姓名
     */
    public String getAdminTruename() {
        return adminTruename;
    }

    /**
     * 设置员工姓名
     *
     * @param adminTruename 员工姓名
     */
    public PersonRemark setAdminTruename(String adminTruename) {
        this.adminTruename = adminTruename == null ? null : adminTruename.trim();
        return this;
    }

    /**
     * 获取备注内容
     *
     * @return pr_remark - 备注内容
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置备注内容
     *
     * @param remark 备注内容
     */
    public PersonRemark setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
        return this;
    }
}